<?php

namespace app\admin\model;
use think\Model;
use think\Db;

class ProductMessageModel extends Model
{
    protected $name = 'product_message';


    /**
     * getAllMessage [ 查找最新全部产品留言信息 ]
     * @author [Boot.Z] [852952656@qq.com]
     */
    public function getAllMessage()
    {
        return $this->field('*')->order('id desc')-> paginate(10);
    }
}